package entity;

// 同名变量表
public class VariableWSN {

    private String name;
    private String scope;
    private String type;
    private Object val;

    public VariableWSN() {
    }

    public VariableWSN(String name, String scope, String type, Object val) {
        this.name = name;
        this.scope = scope;
        this.type = type;
        this.val = val;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Object getVal() {
        return val;
    }

    public void setVal(Object val) {
        this.val = val;
    }

    @Override
    public String toString() {
        return "VariableWSN{" +
                "name='" + name + '\'' +
                ", scope=" + scope +
                ", type='" + type + '\'' +
                ", val=" + val +
                '}';
    }
}
